package cn.edu.pojo;


import java.util.Date;

public class Student {
    private String sno;
    private String password;
    private String sex;
    private Date birth;
    private String sname;

    public Student() {
    }

    public Student(String sno, String password, String sex, Date birth, String sname) {
        this.sno = sno;
        this.password = password;
        this.sex = sex;
        this.birth = birth;
        this.sname = sname;
    }
    @Override
    public String toString() {
        return "Student{" +
                "sno='" + sno + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", brith=" + birth +
                ", sname='" + sname + '\'' +
                '}';
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }


}
